﻿<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>语言代码 | AutoHotkey v2</title>
<meta name="description" content="A list of language names, each of which is associated with a language code (also known as a locale identifier, LCID) that can be contained in the A_Language variable." />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>

<body>
<h1>语言代码</h1>

<p>下表包含了与语言代码(也称为本地标识符 LCID) 相关联的语言名称, <a href="../Variables.htm#Language">A_Language</a> 变量的值为其中的某个语言代码. 语言代码自身是第一个逗号左边的最后四位数字. 例如, 如果 A_Language 的值为 0436, 则系统的默认语言为 Afrikaans(南非).</p>
  <p class="note"><strong>注意:</strong> 包含字母的代码可以使用大写或小写.</p>
<p>您可以直接把 A_Language 和下面的一个或多个 4 位代码进行比较; 例如: <code>if (A_Language = "0436")</code>. 或者您可以把整个表粘贴到脚本中, 然后像列表底部演示的那样访问当前语言的名称.</p>
<pre class="NoIndent">LCID := Map(
  "0036", "Afrikaans",  <em>; af</em>
  "0436", "Afrikaans (South Africa)",  <em>; af-ZA</em>
  "001C", "Albanian",  <em>; sq</em>
  "041C", "Albanian (Albania)",  <em>; sq-AL</em>
  "0484", "Alsatian (France)",  <em>; gsw-FR</em>
  "005E", "Amharic",  <em>; am</em>
  "045E", "Amharic (Ethiopia)",  <em>; am-ET</em>
  "0001", "Arabic",  <em>; ar</em>
  "1401", "Arabic (Algeria)",  <em>; ar-DZ</em>
  "3C01", "Arabic (Bahrain)",  <em>; ar-BH</em>
  "0C01", "Arabic (Egypt)",  <em>; ar-EG</em>
  "0801", "Arabic (Iraq)",  <em>; ar-IQ</em>
  "2C01", "Arabic (Jordan)",  <em>; ar-JO</em>
  "3401", "Arabic (Kuwait)",  <em>; ar-KW</em>
  "3001", "Arabic (Lebanon)",  <em>; ar-LB</em>
  "1001", "Arabic (Libya)",  <em>; ar-LY</em>
  "1801", "Arabic (Morocco)",  <em>; ar-MA</em>
  "2001", "Arabic (Oman)",  <em>; ar-OM</em>
  "4001", "Arabic (Qatar)",  <em>; ar-QA</em>
  "0401", "Arabic (Saudi Arabia)",  <em>; ar-SA</em>
  "2801", "Arabic (Syria)",  <em>; ar-SY</em>
  "1C01", "Arabic (Tunisia)",  <em>; ar-TN</em>
  "3801", "Arabic (United Arab Emirates)",  <em>; ar-AE</em>
  "2401", "Arabic (Yemen)",  <em>; ar-YE</em>
  "002B", "Armenian",  <em>; hy</em>
  "042B", "Armenian (Armenia)",  <em>; hy-AM</em>
  "004D", "Assamese",  <em>; as</em>
  "044D", "Assamese (India)",  <em>; as-IN</em>
  "002C", "Azerbaijani",  <em>; az</em>
  "742C", "Azerbaijani (Cyrillic)",  <em>; az-Cyrl</em>
  "082C", "Azerbaijani (Cyrillic, Azerbaijan)",  <em>; az-Cyrl-AZ</em>
  "782C", "Azerbaijani (Latin)",  <em>; az-Latn</em>
  "042C", "Azerbaijani (Latin, Azerbaijan)",  <em>; az-Latn-AZ</em>
  "0045", "Bangla",  <em>; bn</em>
  "0845", "Bangla (Bangladesh)",  <em>; bn-BD</em>
  "006D", "Bashkir",  <em>; ba</em>
  "046D", "Bashkir (Russia)",  <em>; ba-RU</em>
  "002D", "Basque",  <em>; eu</em>
  "042D", "Basque (Basque)",  <em>; eu-ES</em>
  "0023", "Belarusian",  <em>; be</em>
  "0423", "Belarusian (Belarus)",  <em>; be-BY</em>
  "0445", "Bengali (India)",  <em>; bn-IN</em>
  "781A", "Bosnian",  <em>; bs</em>
  "641A", "Bosnian (Cyrillic)",  <em>; bs-Cyrl</em>
  "201A", "Bosnian (Cyrillic, Bosnia and Herzegovina)",  <em>; bs-Cyrl-BA</em>
  "681A", "Bosnian (Latin)",  <em>; bs-Latn</em>
  "141A", "Bosnian (Latin, Bosnia &amp; Herzegovina)",  <em>; bs-Latn-BA</em>
  "007E", "Breton",  <em>; br</em>
  "047E", "Breton (France)",  <em>; br-FR</em>
  "0002", "Bulgarian",  <em>; bg</em>
  "0402", "Bulgarian (Bulgaria)",  <em>; bg-BG</em>
  "0055", "Burmese",  <em>; my</em>
  "0455", "Burmese (Myanmar)",  <em>; my-MM</em>
  "0003", "Catalan",  <em>; ca</em>
  "0403", "Catalan (Catalan)",  <em>; ca-ES</em>
  "005F", "Central Atlas Tamazight",  <em>; tzm</em>
  "045F", "Central Atlas Tamazight (Arabic, Morocco)",  <em>; tzm-Arab-MA</em>
  "7C5F", "Central Atlas Tamazight (Latin)",  <em>; tzm-Latn</em>
  "085F", "Central Atlas Tamazight (Latin, Algeria)",  <em>; tzm-Latn-DZ</em>
  "785F", "Central Atlas Tamazight (Tifinagh)",  <em>; tzm-Tfng</em>
  "105F", "Central Atlas Tamazight (Tifinagh, Morocco)",  <em>; tzm-Tfng-MA</em>
  "0092", "Central Kurdish",  <em>; ku</em>
  "7C92", "Central Kurdish",  <em>; ku-Arab</em>
  "0492", "Central Kurdish (Iraq)",  <em>; ku-Arab-IQ</em>
  "005C", "Cherokee",  <em>; chr</em>
  "7C5C", "Cherokee",  <em>; chr-Cher</em>
  "045C", "Cherokee (Cherokee, United States)",  <em>; chr-Cher-US</em>
  "7804", "Chinese",  <em>; zh</em>
  "0004", "Chinese (Simplified)",  <em>; zh-Hans</em>
  "0804", "Chinese (Simplified, China)",  <em>; zh-CN</em>
  "1004", "Chinese (Simplified, Singapore)",  <em>; zh-SG</em>
  "7C04", "Chinese (Traditional)",  <em>; zh-Hant</em>
  "0C04", "Chinese (Traditional, Hong Kong SAR)",  <em>; zh-HK</em>
  "1404", "Chinese (Traditional, Macao SAR)",  <em>; zh-MO</em>
  "0404", "Chinese (Traditional, Taiwan)",  <em>; zh-TW</em>
  "0083", "Corsican",  <em>; co</em>
  "0483", "Corsican (France)",  <em>; co-FR</em>
  "001A", "Croatian",  <em>; hr</em>
  "101A", "Croatian (Bosnia &amp; Herzegovina)",  <em>; hr-BA</em>
  "041A", "Croatian (Croatia)",  <em>; hr-HR</em>
  "0005", "Czech",  <em>; cs</em>
  "0405", "Czech (Czechia)",  <em>; cs-CZ</em>
  "0006", "Danish",  <em>; da</em>
  "0406", "Danish (Denmark)",  <em>; da-DK</em>
  "0065", "Divehi",  <em>; dv</em>
  "0465", "Divehi (Maldives)",  <em>; dv-MV</em>
  "0013", "Dutch",  <em>; nl</em>
  "0813", "Dutch (Belgium)",  <em>; nl-BE</em>
  "0413", "Dutch (Netherlands)",  <em>; nl-NL</em>
  "0C51", "Dzongkha (Bhutan)",  <em>; dz-BT</em>
  "0066", "Edo",  <em>; bin</em>
  "0466", "Edo (Nigeria)",  <em>; bin-NG</em>
  "0009", "English",  <em>; en</em>
  "0C09", "English (Australia)",  <em>; en-AU</em>
  "2809", "English (Belize)",  <em>; en-BZ</em>
  "1009", "English (Canada)",  <em>; en-CA</em>
  "2409", "English (Caribbean)",  <em>; en-029</em>
  "3C09", "English (Hong Kong SAR)",  <em>; en-HK</em>
  "4009", "English (India)",  <em>; en-IN</em>
  "3809", "English (Indonesia)",  <em>; en-ID</em>
  "1809", "English (Ireland)",  <em>; en-IE</em>
  "2009", "English (Jamaica)",  <em>; en-JM</em>
  "4409", "English (Malaysia)",  <em>; en-MY</em>
  "1409", "English (New Zealand)",  <em>; en-NZ</em>
  "3409", "English (Philippines)",  <em>; en-PH</em>
  "4809", "English (Singapore)",  <em>; en-SG</em>
  "1C09", "English (South Africa)",  <em>; en-ZA</em>
  "2C09", "English (Trinidad &amp; Tobago)",  <em>; en-TT</em>
  "4C09", "English (United Arab Emirates)",  <em>; en-AE</em>
  "0809", "English (United Kingdom)",  <em>; en-GB</em>
  "0409", "English (United States)",  <em>; en-US</em>
  "3009", "English (Zimbabwe)",  <em>; en-ZW</em>
  "0025", "Estonian",  <em>; et</em>
  "0425", "Estonian (Estonia)",  <em>; et-EE</em>
  "0038", "Faroese",  <em>; fo</em>
  "0438", "Faroese (Faroe Islands)",  <em>; fo-FO</em>
  "0064", "Filipino",  <em>; fil</em>
  "0464", "Filipino (Philippines)",  <em>; fil-PH</em>
  "000B", "Finnish",  <em>; fi</em>
  "040B", "Finnish (Finland)",  <em>; fi-FI</em>
  "000C", "French",  <em>; fr</em>
  "080C", "French (Belgium)",  <em>; fr-BE</em>
  "2C0C", "French (Cameroon)",  <em>; fr-CM</em>
  "0C0C", "French (Canada)",  <em>; fr-CA</em>
  "1C0C", "French (Caribbean)",  <em>; fr-029</em>
  "300C", "French (Côte d’Ivoire)",  <em>; fr-CI</em>
  "040C", "French (France)",  <em>; fr-FR</em>
  "3C0C", "French (Haiti)",  <em>; fr-HT</em>
  "140C", "French (Luxembourg)",  <em>; fr-LU</em>
  "340C", "French (Mali)",  <em>; fr-ML</em>
  "180C", "French (Monaco)",  <em>; fr-MC</em>
  "380C", "French (Morocco)",  <em>; fr-MA</em>
  "200C", "French (Réunion)",  <em>; fr-RE</em>
  "280C", "French (Senegal)",  <em>; fr-SN</em>
  "100C", "French (Switzerland)",  <em>; fr-CH</em>
  "240C", "French Congo (DRC)",  <em>; fr-CD</em>
  "0067", "Fulah",  <em>; ff</em>
  "7C67", "Fulah (Latin)",  <em>; ff-Latn</em>
  "0467", "Fulah (Latin, Nigeria)",  <em>; ff-Latn-NG</em>
  "0867", "Fulah (Latin, Senegal)",  <em>; ff-Latn-SN</em>
  "0056", "Galician",  <em>; gl</em>
  "0456", "Galician (Galician)",  <em>; gl-ES</em>
  "0037", "Georgian",  <em>; ka</em>
  "0437", "Georgian (Georgia)",  <em>; ka-GE</em>
  "0007", "German",  <em>; de</em>
  "0C07", "German (Austria)",  <em>; de-AT</em>
  "0407", "German (Germany)",  <em>; de-DE</em>
  "1407", "German (Liechtenstein)",  <em>; de-LI</em>
  "1007", "German (Luxembourg)",  <em>; de-LU</em>
  "0807", "German (Switzerland)",  <em>; de-CH</em>
  "0008", "Greek",  <em>; el</em>
  "0408", "Greek (Greece)",  <em>; el-GR</em>
  "0074", "Guarani",  <em>; gn</em>
  "0474", "Guarani (Paraguay)",  <em>; gn-PY</em>
  "0047", "Gujarati",  <em>; gu</em>
  "0447", "Gujarati (India)",  <em>; gu-IN</em>
  "0068", "Hausa",  <em>; ha</em>
  "7C68", "Hausa (Latin)",  <em>; ha-Latn</em>
  "0468", "Hausa (Latin, Nigeria)",  <em>; ha-Latn-NG</em>
  "0075", "Hawaiian",  <em>; haw</em>
  "0475", "Hawaiian (United States)",  <em>; haw-US</em>
  "000D", "Hebrew",  <em>; he</em>
  "040D", "Hebrew (Israel)",  <em>; he-IL</em>
  "0039", "Hindi",  <em>; hi</em>
  "0439", "Hindi (India)",  <em>; hi-IN</em>
  "000E", "Hungarian",  <em>; hu</em>
  "040E", "Hungarian (Hungary)",  <em>; hu-HU</em>
  "0069", "Ibibio",  <em>; ibb</em>
  "0469", "Ibibio (Nigeria)",  <em>; ibb-NG</em>
  "000F", "Icelandic",  <em>; is</em>
  "040F", "Icelandic (Iceland)",  <em>; is-IS</em>
  "0070", "Igbo",  <em>; ig</em>
  "0470", "Igbo (Nigeria)",  <em>; ig-NG</em>
  "0021", "Indonesian",  <em>; id</em>
  "0421", "Indonesian (Indonesia)",  <em>; id-ID</em>
  "005D", "Inuktitut",  <em>; iu</em>
  "7C5D", "Inuktitut (Latin)",  <em>; iu-Latn</em>
  "085D", "Inuktitut (Latin, Canada)",  <em>; iu-Latn-CA</em>
  "785D", "Inuktitut (Syllabics)",  <em>; iu-Cans</em>
  "045D", "Inuktitut (Syllabics, Canada)",  <em>; iu-Cans-CA</em>
  "003C", "Irish",  <em>; ga</em>
  "083C", "Irish (Ireland)",  <em>; ga-IE</em>
  "0034", "isiXhosa",  <em>; xh</em>
  "0434", "isiXhosa (South Africa)",  <em>; xh-ZA</em>
  "0035", "isiZulu",  <em>; zu</em>
  "0435", "isiZulu (South Africa)",  <em>; zu-ZA</em>
  "0010", "Italian",  <em>; it</em>
  "0410", "Italian (Italy)",  <em>; it-IT</em>
  "0810", "Italian (Switzerland)",  <em>; it-CH</em>
  "0011", "Japanese",  <em>; ja</em>
  "0411", "Japanese (Japan)",  <em>; ja-JP</em>
  "006F", "Kalaallisut",  <em>; kl</em>
  "046F", "Kalaallisut (Greenland)",  <em>; kl-GL</em>
  "004B", "Kannada",  <em>; kn</em>
  "044B", "Kannada (India)",  <em>; kn-IN</em>
  "0071", "Kanuri",  <em>; kr</em>
  "0471", "Kanuri (Latin, Nigeria)",  <em>; kr-Latn-NG</em>
  "0060", "Kashmiri",  <em>; ks</em>
  "0460", "Kashmiri (Arabic)",  <em>; ks-Arab</em>
  "1000", "Kashmiri (Arabic)",  <em>; ks-Arab-IN</em>
  "0860", "Kashmiri (Devanagari)",  <em>; ks-Deva-IN</em>
  "003F", "Kazakh",  <em>; kk</em>
  "043F", "Kazakh (Kazakhstan)",  <em>; kk-KZ</em>
  "0053", "Khmer",  <em>; km</em>
  "0453", "Khmer (Cambodia)",  <em>; km-KH</em>
  "0087", "Kinyarwanda",  <em>; rw</em>
  "0487", "Kinyarwanda (Rwanda)",  <em>; rw-RW</em>
  "0041", "Kiswahili",  <em>; sw</em>
  "0441", "Kiswahili (Kenya)",  <em>; sw-KE</em>
  "0057", "Konkani",  <em>; kok</em>
  "0457", "Konkani (India)",  <em>; kok-IN</em>
  "0012", "Korean",  <em>; ko</em>
  "0412", "Korean (Korea)",  <em>; ko-KR</em>
  "0040", "Kyrgyz",  <em>; ky</em>
  "0440", "Kyrgyz (Kyrgyzstan)",  <em>; ky-KG</em>
  "0086", "Kʼicheʼ",  <em>; quc</em>
  "7C86", "Kʼicheʼ (Latin)",  <em>; quc-Latn</em>
  "0486", "Kʼicheʼ (Latin, Guatemala)",  <em>; quc-Latn-GT</em>
  "0054", "Lao",  <em>; lo</em>
  "0454", "Lao (Laos)",  <em>; lo-LA</em>
  "0076", "Latin",  <em>; la</em>
  "0476", "Latin (Vatican City)",  <em>; la-VA</em>
  "0026", "Latvian",  <em>; lv</em>
  "0426", "Latvian (Latvia)",  <em>; lv-LV</em>
  "0027", "Lithuanian",  <em>; lt</em>
  "0427", "Lithuanian (Lithuania)",  <em>; lt-LT</em>
  "7C2E", "Lower Sorbian",  <em>; dsb</em>
  "082E", "Lower Sorbian (Germany)",  <em>; dsb-DE</em>
  "006E", "Luxembourgish",  <em>; lb</em>
  "046E", "Luxembourgish (Luxembourg)",  <em>; lb-LU</em>
  "002F", "Macedonian",  <em>; mk</em>
  "042F", "Macedonian (North Macedonia)",  <em>; mk-MK</em>
  "003E", "Malay",  <em>; ms</em>
  "083E", "Malay (Brunei)",  <em>; ms-BN</em>
  "043E", "Malay (Malaysia)",  <em>; ms-MY</em>
  "004C", "Malayalam",  <em>; ml</em>
  "044C", "Malayalam (India)",  <em>; ml-IN</em>
  "003A", "Maltese",  <em>; mt</em>
  "043A", "Maltese (Malta)",  <em>; mt-MT</em>
  "0058", "Manipuri",  <em>; mni</em>
  "0458", "Manipuri (Bangla, India)",  <em>; mni-IN</em>
  "0081", "Maori",  <em>; mi</em>
  "0481", "Maori (New Zealand)",  <em>; mi-NZ</em>
  "007A", "Mapuche",  <em>; arn</em>
  "047A", "Mapuche (Chile)",  <em>; arn-CL</em>
  "004E", "Marathi",  <em>; mr</em>
  "044E", "Marathi (India)",  <em>; mr-IN</em>
  "007C", "Mohawk",  <em>; moh</em>
  "047C", "Mohawk (Canada)",  <em>; moh-CA</em>
  "0050", "Mongolian",  <em>; mn</em>
  "7850", "Mongolian",  <em>; mn-Cyrl</em>
  "0450", "Mongolian (Mongolia)",  <em>; mn-MN</em>
  "7C50", "Mongolian (Traditional Mongolian)",  <em>; mn-Mong</em>
  "0850", "Mongolian (Traditional Mongolian, China)",  <em>; mn-Mong-CN</em>
  "0C50", "Mongolian (Traditional Mongolian, Mongolia)",  <em>; mn-Mong-MN</em>
  "0061", "Nepali",  <em>; ne</em>
  "0861", "Nepali (India)",  <em>; ne-IN</em>
  "0461", "Nepali (Nepal)",  <em>; ne-NP</em>
  "003B", "Northern Sami",  <em>; se</em>
  "0014", "Norwegian",  <em>; no</em>
  "7C14", "Norwegian Bokmål",  <em>; nb</em>
  "0414", "Norwegian Bokmål (Norway)",  <em>; nb-NO</em>
  "7814", "Norwegian Nynorsk",  <em>; nn</em>
  "0814", "Norwegian Nynorsk (Norway)",  <em>; nn-NO</em>
  "0082", "Occitan",  <em>; oc</em>
  "0482", "Occitan (France)",  <em>; oc-FR</em>
  "0048", "Odia",  <em>; or</em>
  "0448", "Odia (India)",  <em>; or-IN</em>
  "0072", "Oromo",  <em>; om</em>
  "0472", "Oromo (Ethiopia)",  <em>; om-ET</em>
  "0079", "Papiamento",  <em>; pap</em>
  "0479", "Papiamento (Caribbean)",  <em>; pap-029</em>
  "0063", "Pashto",  <em>; ps</em>
  "0463", "Pashto (Afghanistan)",  <em>; ps-AF</em>
  "0029", "Persian",  <em>; fa</em>
  "008C", "Persian",  <em>; fa</em>
  "048C", "Persian (Afghanistan)",  <em>; fa-AF</em>
  "0429", "Persian (Iran)",  <em>; fa-IR</em>
  "0015", "Polish",  <em>; pl</em>
  "0415", "Polish (Poland)",  <em>; pl-PL</em>
  "0016", "Portuguese",  <em>; pt</em>
  "0416", "Portuguese (Brazil)",  <em>; pt-BR</em>
  "0816", "Portuguese (Portugal)",  <em>; pt-PT</em>
  "05FE", "Pseudo (Pseudo Asia)",  <em>; qps-ploca</em>
  "09FF", "Pseudo (Pseudo Mirrored)",  <em>; qps-plocm</em>
  "0901", "Pseudo (Pseudo Selfhost)",  <em>; qps-Latn-x-sh</em>
  "0501", "Pseudo (Pseudo)",  <em>; qps-ploc</em>
  "0046", "Punjabi",  <em>; pa</em>
  "7C46", "Punjabi",  <em>; pa-Arab</em>
  "0446", "Punjabi (India)",  <em>; pa-IN</em>
  "0846", "Punjabi (Pakistan)",  <em>; pa-Arab-PK</em>
  "006B", "Quechua",  <em>; quz</em>
  "046B", "Quechua (Bolivia)",  <em>; quz-BO</em>
  "086B", "Quechua (Ecuador)",  <em>; quz-EC</em>
  "0C6B", "Quechua (Peru)",  <em>; quz-PE</em>
  "0018", "Romanian",  <em>; ro</em>
  "0818", "Romanian (Moldova)",  <em>; ro-MD</em>
  "0418", "Romanian (Romania)",  <em>; ro-RO</em>
  "0017", "Romansh",  <em>; rm</em>
  "0417", "Romansh (Switzerland)",  <em>; rm-CH</em>
  "0019", "Russian",  <em>; ru</em>
  "0819", "Russian (Moldova)",  <em>; ru-MD</em>
  "0419", "Russian (Russia)",  <em>; ru-RU</em>
  "0085", "Sakha",  <em>; sah</em>
  "0485", "Sakha (Russia)",  <em>; sah-RU</em>
  "703B", "Sami (Inari)",  <em>; smn</em>
  "7C3B", "Sami (Lule)",  <em>; smj</em>
  "743B", "Sami (Skolt)",  <em>; sms</em>
  "783B", "Sami (Southern)",  <em>; sma</em>
  "243B", "Sami, Inari (Finland)",  <em>; smn-FI</em>
  "103B", "Sami, Lule (Norway)",  <em>; smj-NO</em>
  "143B", "Sami, Lule (Sweden)",  <em>; smj-SE</em>
  "0C3B", "Sami, Northern (Finland)",  <em>; se-FI</em>
  "043B", "Sami, Northern (Norway)",  <em>; se-NO</em>
  "083B", "Sami, Northern (Sweden)",  <em>; se-SE</em>
  "203B", "Sami, Skolt (Finland)",  <em>; sms-FI</em>
  "183B", "Sami, Southern (Norway)",  <em>; sma-NO</em>
  "1C3B", "Sami, Southern (Sweden)",  <em>; sma-SE</em>
  "004F", "Sanskrit",  <em>; sa</em>
  "044F", "Sanskrit (India)",  <em>; sa-IN</em>
  "0091", "Scottish Gaelic",  <em>; gd</em>
  "0491", "Scottish Gaelic (United Kingdom)",  <em>; gd-GB</em>
  "7C1A", "Serbian",  <em>; sr</em>
  "6C1A", "Serbian (Cyrillic)",  <em>; sr-Cyrl</em>
  "1C1A", "Serbian (Cyrillic, Bosnia and Herzegovina)",  <em>; sr-Cyrl-BA</em>
  "301A", "Serbian (Cyrillic, Montenegro)",  <em>; sr-Cyrl-ME</em>
  "0C1A", "Serbian (Cyrillic, Serbia and Montenegro (Former))",  <em>; sr-Cyrl-CS</em>
  "281A", "Serbian (Cyrillic, Serbia)",  <em>; sr-Cyrl-RS</em>
  "701A", "Serbian (Latin)",  <em>; sr-Latn</em>
  "181A", "Serbian (Latin, Bosnia &amp; Herzegovina)",  <em>; sr-Latn-BA</em>
  "2C1A", "Serbian (Latin, Montenegro)",  <em>; sr-Latn-ME</em>
  "081A", "Serbian (Latin, Serbia and Montenegro (Former))",  <em>; sr-Latn-CS</em>
  "241A", "Serbian (Latin, Serbia)",  <em>; sr-Latn-RS</em>
  "0030", "Sesotho",  <em>; st</em>
  "0430", "Sesotho (South Africa)",  <em>; st-ZA</em>
  "006C", "Sesotho sa Leboa",  <em>; nso</em>
  "046C", "Sesotho sa Leboa (South Africa)",  <em>; nso-ZA</em>
  "0032", "Setswana",  <em>; tn</em>
  "0832", "Setswana (Botswana)",  <em>; tn-BW</em>
  "0432", "Setswana (South Africa)",  <em>; tn-ZA</em>
  "0059", "Sindhi",  <em>; sd</em>
  "7C59", "Sindhi",  <em>; sd-Arab</em>
  "0459", "Sindhi (Devanagari, India)",  <em>; sd-Deva-IN</em>
  "0859", "Sindhi (Pakistan)",  <em>; sd-Arab-PK</em>
  "005B", "Sinhala",  <em>; si</em>
  "045B", "Sinhala (Sri Lanka)",  <em>; si-LK</em>
  "001B", "Slovak",  <em>; sk</em>
  "041B", "Slovak (Slovakia)",  <em>; sk-SK</em>
  "0024", "Slovenian",  <em>; sl</em>
  "0424", "Slovenian (Slovenia)",  <em>; sl-SI</em>
  "0077", "Somali",  <em>; so</em>
  "0477", "Somali (Somalia)",  <em>; so-SO</em>
  "000A", "Spanish",  <em>; es</em>
  "2C0A", "Spanish (Argentina)",  <em>; es-AR</em>
  "400A", "Spanish (Bolivia)",  <em>; es-BO</em>
  "340A", "Spanish (Chile)",  <em>; es-CL</em>
  "240A", "Spanish (Colombia)",  <em>; es-CO</em>
  "140A", "Spanish (Costa Rica)",  <em>; es-CR</em>
  "5C0A", "Spanish (Cuba)",  <em>; es-CU</em>
  "1C0A", "Spanish (Dominican Republic)",  <em>; es-DO</em>
  "300A", "Spanish (Ecuador)",  <em>; es-EC</em>
  "440A", "Spanish (El Salvador)",  <em>; es-SV</em>
  "100A", "Spanish (Guatemala)",  <em>; es-GT</em>
  "480A", "Spanish (Honduras)",  <em>; es-HN</em>
  "580A", "Spanish (Latin America)",  <em>; es-419</em>
  "080A", "Spanish (Mexico)",  <em>; es-MX</em>
  "4C0A", "Spanish (Nicaragua)",  <em>; es-NI</em>
  "180A", "Spanish (Panama)",  <em>; es-PA</em>
  "3C0A", "Spanish (Paraguay)",  <em>; es-PY</em>
  "280A", "Spanish (Peru)",  <em>; es-PE</em>
  "500A", "Spanish (Puerto Rico)",  <em>; es-PR</em>
  "0C0A", "Spanish (Spain, International Sort)",  <em>; es-ES</em>
  "040A", "Spanish (Spain, Traditional Sort)",  <em>; es-ES_tradnl</em>
  "540A", "Spanish (United States)",  <em>; es-US</em>
  "380A", "Spanish (Uruguay)",  <em>; es-UY</em>
  "200A", "Spanish (Venezuela)",  <em>; es-VE</em>
  "001D", "Swedish",  <em>; sv</em>
  "081D", "Swedish (Finland)",  <em>; sv-FI</em>
  "041D", "Swedish (Sweden)",  <em>; sv-SE</em>
  "0084", "Swiss German",  <em>; gsw</em>
  "005A", "Syriac",  <em>; syr</em>
  "045A", "Syriac (Syria)",  <em>; syr-SY</em>
  "0028", "Tajik",  <em>; tg</em>
  "7C28", "Tajik (Cyrillic)",  <em>; tg-Cyrl</em>
  "0428", "Tajik (Cyrillic, Tajikistan)",  <em>; tg-Cyrl-TJ</em>
  "0049", "Tamil",  <em>; ta</em>
  "0449", "Tamil (India)",  <em>; ta-IN</em>
  "0849", "Tamil (Sri Lanka)",  <em>; ta-LK</em>
  "0044", "Tatar",  <em>; tt</em>
  "0444", "Tatar (Russia)",  <em>; tt-RU</em>
  "004A", "Telugu",  <em>; te</em>
  "044A", "Telugu (India)",  <em>; te-IN</em>
  "001E", "Thai",  <em>; th</em>
  "041E", "Thai (Thailand)",  <em>; th-TH</em>
  "0051", "Tibetan",  <em>; bo</em>
  "0451", "Tibetan (China)",  <em>; bo-CN</em>
  "0073", "Tigrinya",  <em>; ti</em>
  "0873", "Tigrinya (Eritrea)",  <em>; ti-ER</em>
  "0473", "Tigrinya (Ethiopia)",  <em>; ti-ET</em>
  "001F", "Turkish",  <em>; tr</em>
  "041F", "Turkish (Turkey)",  <em>; tr-TR</em>
  "0042", "Turkmen",  <em>; tk</em>
  "0442", "Turkmen (Turkmenistan)",  <em>; tk-TM</em>
  "0022", "Ukrainian",  <em>; uk</em>
  "0422", "Ukrainian (Ukraine)",  <em>; uk-UA</em>
  "002E", "Upper Sorbian",  <em>; hsb</em>
  "042E", "Upper Sorbian (Germany)",  <em>; hsb-DE</em>
  "0020", "Urdu",  <em>; ur</em>
  "0820", "Urdu (India)",  <em>; ur-IN</em>
  "0420", "Urdu (Pakistan)",  <em>; ur-PK</em>
  "0080", "Uyghur",  <em>; ug</em>
  "0480", "Uyghur (China)",  <em>; ug-CN</em>
  "0043", "Uzbek",  <em>; uz</em>
  "7843", "Uzbek (Cyrillic)",  <em>; uz-Cyrl</em>
  "0843", "Uzbek (Cyrillic, Uzbekistan)",  <em>; uz-Cyrl-UZ</em>
  "7C43", "Uzbek (Latin)",  <em>; uz-Latn</em>
  "0443", "Uzbek (Latin, Uzbekistan)",  <em>; uz-Latn-UZ</em>
  "0803", "Valencian (Spain)",  <em>; ca-ES-valencia</em>
  "0033", "Venda",  <em>; ve</em>
  "0433", "Venda (South Africa)",  <em>; ve-ZA</em>
  "002A", "Vietnamese",  <em>; vi</em>
  "042A", "Vietnamese (Vietnam)",  <em>; vi-VN</em>
  "0052", "Welsh",  <em>; cy</em>
  "0452", "Welsh (United Kingdom)",  <em>; cy-GB</em>
  "0062", "Western Frisian",  <em>; fy</em>
  "0462", "Western Frisian (Netherlands)",  <em>; fy-NL</em>
  "0088", "Wolof",  <em>; wo</em>
  "0488", "Wolof (Senegal)",  <em>; wo-SN</em>
  "0031", "Xitsonga",  <em>; ts</em>
  "0431", "Xitsonga (South Africa)",  <em>; ts-ZA</em>
  "0078", "Yi",  <em>; ii</em>
  "0478", "Yi (China)",  <em>; ii-CN</em>
  "003D", "Yiddish",  <em>; yi</em>
  "043D", "Yiddish (World)",  <em>; yi-001</em>
  "006A", "Yoruba",  <em>; yo</em>
  "046A", "Yoruba (Nigeria)"  <em>; yo-NG</em>
)

the_language := LCID[A_Language] <em>; 获取系统默认语言的名称.</em>
MsgBox the_language  <em>; 显示语言名称.</em></pre>
<p>下面的脚本用于创建上面的列表:</p>
<pre class="NoIndent">G := Gui()
LV := G.Add("ListView", "w500 r20", ["LCID","Display Name","Locale Name"])
G.Show()

LOCALE_ALLOW_NEUTRAL_NAMES := 0x08000000
LOCALE_SENGLISHDISPLAYNAME := 0x72
LOCALE_SLOCALIZEDDISPLAYNAME := 0x2
loop 0xFFFF
{
    LCID := Format("{:04X}", A_Index)
    if (LCID ~= "(04|08|0C|14|20|24|28|2C|30|34|38|3C|40|44|48|4C)00")
        continue  <em>; 跳过默认和临时的 LCID.</em>
    LocaleName := LCIDToLocaleName(A_Index, LOCALE_ALLOW_NEUTRAL_NAMES)
    if not LocaleName
        continue  <em>; 跳过未知的 LCID.</em>
    DisplayName := GetLocaleInfo(LocaleName, LOCALE_SENGLISHDISPLAYNAME)
    <em>; DisplayName := GetLocaleInfo(LocaleName, LOCALE_SLOCALIZEDDISPLAYNAME)</em>
    LV.Add(, LCID, DisplayName, LocaleName)
    <em>; A_Clipboard .= LCID "`t" DisplayName "`t" LocaleName "`n"</em>
}
LV.ModifyCol()  <em>; 自动调整每个列的大小以适合其内容.</em>

LCIDToLocaleName(LCID, Flags := 0)
{
    reqBufSize := DllCall("LCIDToLocaleName", "UInt", LCID, "Ptr", 0, "UInt", 0, "UInt", Flags)
    out := Buffer(reqBufSize*2)
    DllCall("LCIDToLocaleName", "UInt", LCID, "Ptr", out, "UInt", out.Size, "UInt", Flags)
    return StrGet(out)
}

GetLocaleInfo(LocaleName, LCType)
{
    reqBufSize := DllCall("GetLocaleInfoEx", "Str", LocaleName, "UInt", LCType, "Ptr", 0, "UInt", 0)
    out := Buffer(reqBufSize*2)
    DllCall("GetLocaleInfoEx", "Str", LocaleName, "UInt", LCType, "Ptr", out, "UInt", out.Size)
    return StrGet(out)
}</pre>

</body>
</html>